package com.test.demo.ext

import android.graphics.drawable.Drawable
import android.widget.ImageView
import com.test.demo.R


/**
 *
 * @Description: glide 扩展
 * @Author: theobald
 */
fun ImageView.loadCircle(url: Any?,borderWidth: Int = 0,borderColor:Int = R.color.trans) {
    if (url == null) {
        return
    }
}


fun ImageView.loadUrl(url: Any?,round:Int=0 ,borderWidth: Int = 0,borderColor:Int = R.color.trans) {
    if (url == null) {
        return
    }
}


fun ImageView.loadRound(url: Any?,round:Int=0 ,borderWidth: Int = 0,borderColor:Int = R.color.trans) {
    if (url == null) {
        return
    }
}
